<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>双向绑定</title>
	</head>
	<body>
		<div id="app">
			<!--v-model :只能标识可以编辑的标签  数据绑定-->
			数据录入：<input type="text" v-model="msg"/>
		</div>
		
		<script  src="https://cdn.jsdelivr.net/npm/vue@2"></script>
		<script>
            const app = new Vue({
                el: '#app',
                data: {
                    msg: '测试数据'
                }
            })
		</script>
	</body>
</html>